/**
 * goio-bean
 *
 * This class do 
 *
 * @link http://www.marcosperon.com/
 * @copyright 2009 - Peron Co.
 * @author Marcos Peron
 * @package com.marcosperon.dao
 * @version 2009
 */
package com.mperon.dao;

/**
 * The Interface Transaction.
 */
public interface Transaction {
    
    /**
     * Start.
     */
    public void start();

    /**
     * Commit.
     */
    public void commit();

    /**
     * Rollback.
     */
    public void rollback();

    /**
     * Checks if is started.
     * 
     * @return true, if is started
     */
    public boolean isStarted();

    /**
     * Close.
     */
    public void close();
}
